<div id="editGovOldPersonModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body">
        <h3 class="m-t-none m-b ">修改老年人</h3>
        <div class="ibox-content">
          <div>
            <div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">养老院</label>
                <div class="col-sm-4">
                  <select class="custom-select" v-model="editGovOldPersonInfo.govCommunityId">
                    <option selected disabled value="">请选择所属养老院</option>
                    <option v-for="(item,index) in editGovOldPersonInfo.govCommunitys" :value="item.govCommunityId">
                      {{item.communityName}}</option>
                  </select>
                </div>
                <label class="col-sm-2 col-form-label">老人类型</label>
                <div class="col-sm-4">
                  <select class="custom-select" v-model="editGovOldPersonInfo.typeId">
                    <option selected disabled value="">请选择老人类型</option>
                    <option v-for="(item,index) in editGovOldPersonInfo.govOldPersonTypes" :value="item.typeId">
                      {{item.typeName}}</option>
                  </select>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">姓名</label>
                <div class="col-sm-4">
                  <input v-model="editGovOldPersonInfo.personName" type="text" placeholder="必填，请填写姓名"
                    class="form-control">
                </div>
                <label class="col-sm-2 col-form-label">电话</label>
                <div class="col-sm-4">
                  <input v-model="editGovOldPersonInfo.personTel" type="text" placeholder="必填，请填写电话"
                    class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">年龄</label>
                <div class="col-sm-4">
                  <input v-model="editGovOldPersonInfo.personAge" type="text" placeholder="必填，请填写年龄"
                    class="form-control">
                </div>
                <label class="col-sm-2 col-form-label">身份证号码</label>
                <div class="col-sm-4">
                  <input v-model="editGovOldPersonInfo.idCard" type="text" placeholder="必填，请填写证件号码"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">生日</label>
                <div class="col-sm-4">
                  <input v-model="editGovOldPersonInfo.birthday" type="text" placeholder="必填，请填写生日" class="form-control editBirthday">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">性别</label>
                <div class="col-sm-4">
                  <select class="custom-select" v-model="editGovOldPersonInfo.personSex">
                    <option selected disabled value="">必填，请选择性别</option>
                    <option value="0">女</option>
                    <option value="1">男</option>
                  </select>
                </div>
                <label class="col-sm-2 col-form-label">民族</label>
                <div class="col-sm-4">
                  <input v-model="editGovOldPersonInfo.nation" type="text" placeholder="选填，请填写民族" class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">家人联系人</label>
                <div class="col-sm-4">
                  <input v-model="editGovOldPersonInfo.contactPerson" type="text" placeholder="必填，请填写家人联系人"
                    class="form-control">
                </div>
                <label class="col-sm-2 col-form-label">家人联系电话</label>
                <div class="col-sm-4">
                  <input v-model="editGovOldPersonInfo.contactTel" type="text" placeholder="必填，请填写家人联系电话"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">服务人</label>
                <div class="col-sm-4">
                  <input v-model="editGovOldPersonInfo.servPerson" type="text" placeholder="必填，请填写服务人"
                    class="form-control">
                </div>
                <label class="col-sm-2 col-form-label">服务人电话</label>
                <div class="col-sm-4">
                  <input v-model="editGovOldPersonInfo.servTel" type="text" placeholder="必填，请填写服务人电话"
                    class="form-control">
                </div>
              </div>
              <!-- <div class="form-group row">
                <label class="col-sm-2 col-form-label">初始时间</label>
                <div class="col-sm-10">
                  <input v-model="editGovOldPersonInfo.timeAmount" disabled="disabled" type="text" placeholder="必填，请填写初始时间"
                    class="form-control">
                </div>
              </div> -->
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">备注</label>
                <div class="col-sm-10">
                  <input v-model="editGovOldPersonInfo.ramark" type="text" placeholder="必填，请填写备注" class="form-control">
                </div>
              </div>

              <div class="ibox-content">
                <button class="btn btn-primary float-right" type="button" v-on:click="editGovOldPerson()"><i
                    class="fa fa-check"></i>&nbsp;保存</button>
                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                  data-dismiss="modal">取消</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>